package com.cskaoyan.service.admin;

import com.cskaoyan.bean.BaseParamBo;
import com.cskaoyan.bean.BaseRespData;
import com.cskaoyan.bean.admin.other.AdminLoginInfoVo;
import com.cskaoyan.bean.admin.other.DashBoardVo;
import com.cskaoyan.bean.admin.other.InfoDataVo;
import com.cskaoyan.bean.admin.system.*;

public interface AdminService {

    BaseRespData query(String username, BaseParamBo param);

    int delete(ListAdminsVo adminsVo);

    ModifyAdminsVo update(ModifyAdminsBo modifyAdminsBo);

    AddAdminsVo createAdmin(AddAdminsBo addAdminsBo);

    Boolean usernameIsDuplicate(ModifyAdminsBo adminsBo);

    Boolean usernameIsDuplicate(AddAdminsBo adminsBo);

    AdminLoginInfoVo selectInfo(String username, String ip);

    DashBoardVo queryCount();
}
